package com.jsonview.code;

import javax.swing.BoxLayout;
import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.JLabel;
/**
 * 测试git
 * @author Administrator
 *
 */
public class AboutDialog {

	public static void show(JFrame frame) {
		JDialog dlg = new JDialog(frame);
		dlg.setTitle("关于");
		dlg.setModal(false);
		dlg.setSize(260, 200);
		dlg.setResizable(false);
		dlg.setLocationRelativeTo(frame);

		java.awt.Container pane = dlg.getContentPane();
		BoxLayout layout = new BoxLayout(pane, BoxLayout.Y_AXIS);
		pane.setLayout(layout);
		pane.add(new JLabel(" "));
		pane.add(new JLabel("        jsonView 2.3.2"));
		pane.add(new JLabel(" "));
		pane.add(new JLabel("        作者：孙震"));
		pane.add(new JLabel(" "));
		pane.add(new JLabel("        邮箱：623896834@qq.com"));
		pane.add(new JLabel(" "));
		pane.add(new JLabel("        在藏言版本上修改"));
		dlg.setVisible(true);
	}
}
